<?php
// load Smarty library
require_once dirname(__FILE__) . '/../libs/smarty/Smarty.class.php';
require_once dirname(__FILE__) . '/smarty_gettext.php';

$smarty = new Smarty;

$smarty->left_delimiter = '{{';
$smarty->right_delimiter = '}}';

$smarty->template_dir = dirname(__FILE__) . '/../templates';
$smarty->config_dir = dirname(__FILE__) . '/smarty/config';
$smarty->cache_dir = dirname(__FILE__) . '/smarty/cache';
$smarty->compile_dir = dirname(__FILE__) . '/smarty/template_c';

// register with smarty
$smarty->registerPlugin("block", "t", "smarty_translate");
?>
